/*
 * @Author: shanghongyun 2879455630@qq.com
 * @Date: 2025-06-03 13:31:06
 * @LastEditors: shanghongyun 2879455630@qq.com
 * @LastEditTime: 2025-06-12 18:02:17
 * @FilePath: \A05\Drive\qc_protocol.h
 * @Description: QC协议头文件
 */
#ifndef __QC_PROTOCOL_H_
#define __QC_PROTOCOL_H_


#include "dev.h"



typedef struct{
    enum{
        QC_INIT,
        QC_NORMAL,
        QC_LOCK,
        QC_SUCCESS,
        QC_END      /*QC诱导结束*/
    }state;
    uint16_t delay_cnt;
    uint8_t qc_set;
}qc_protocol_t;


void qc_protocol_process(void);



#endif


